package com.xh.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.xh.entiy.CourseVideo;
import com.xh.repository.CourseVideoRepository;
@Component
public class CourseVideoService {
	@Autowired
	private CourseVideoRepository courseVideoRepository;
	public CourseVideo saveVideo(CourseVideo coursevideo){
		return courseVideoRepository.save(coursevideo);
	}
}
